#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main() {
	int x;
	priority_queue<int, vector<int>, greater<int>> q;
	while (cin >> x)	q.push(x);
	while (q.size() != 1) {
		cout << q.top() << ",";
		q.pop();
	}
	cout << q.top();
	return 0;
}
